@layout("/common/_container.html",{js:["/assets/modular/system/btyExpend/btyExpend.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>
<style>
    .zx {
        margin-left: -20px;
        margin-top: 10px;
    }

    .zxshop {
        margin-left: 65px;
    }

    .zxxz {
        color: #00B83F;
    }

    .zx-name {
        width: 55px;
        display: inline-block;
        text-align: right;
    }
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label zx-name">门店<span
                                        style="color: red;">*</span></label>
                                <div class="layui-inline" style="display: inline-block">
                                    <select id="shopCodeSearch" lay-filter="shopCode"
                                            lay-verify="required">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索
                                </button>
                            </div>
                            <br/>
                            <span class="zxxz">添加：</span>
                            <form id="btyExpendForm" lay-filter="btyExpendForm">
                                <div class="layui-col-sm12 zx">
                                    <div class="layui-inline" style="margin-right: 20px">
                                        <label class="layui-form-label zx-name">门店<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-inline" style="display: inline-block">
                                            <select id="shopCode" name="shopCode" lay-filter="shopCode"
                                                    lay-verify="required">
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">时间<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-inline">
                                            <input id="time" name="time" placeholder="请输入时间" type="text"
                                                   class="layui-input"
                                                   lay-verify="required" required/>
                                        </div>
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">事项<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-input-block">
                                            <input id="remark" name="remark" placeholder="请输入事项" type="text"
                                                   class="layui-input"
                                                   lay-verify="required" required/>
                                        </div>
                                    </div>

                                    <div class="layui-inline">
                                        <label class="layui-form-label zx-name">金额<span
                                                style="color: red;">*</span></label>
                                        <div class="layui-input-block">
                                            <input id="money" name="money" placeholder="请输入金额：(元)" type="text"
                                                   class="layui-input layui-input-half" lay-verify="required|double" required/>
                                        </div>
                                    </div>

                                    <div class="layui-inline" style="margin-left: 15px;text-align: center">
                                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                                    </div>

                                </div>
                            </form>
                        </div>
                    </div>
                    <table class="layui-table" id="btyExpendTable" lay-filter="btyExpendTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
@}